import { ref, computed } from "vue";
import { defineStore } from "pinia";

export const useCounterStore = defineStore("counter", {
  state: () => ({
    count: 0,
  }),
  getters: {},
  actions: {
    addNum() {
      this.count++;
    },
  },
  persist: true,
});
